package com.fangcun.mapper;

import java.util.List;

import com.fangcun.bean.admin.user.response.UserRoleResponse;
import com.fangcun.entity.AdminUserRole;
import com.fangcun.entity.User;

public interface AdminUserRoleMapper {
	int deleteByPrimaryKey(Long id);

	int insert(AdminUserRole record);

	int insertSelective(AdminUserRole record);

	AdminUserRole selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(AdminUserRole record);

	int updateByPrimaryKey(AdminUserRole record);

	int updateByUserId(AdminUserRole record);

	List<AdminUserRole> selectByRoleId(Long roleId);
	/**角色 部门 全部查询**/
	List<UserRoleResponse> selectUserRole(User request);
}